package com.itheima.service.mongo;

import com.itheima.soul.UserSiteVo;

import java.util.List;

public interface UserLocationService {
    //保存地址位置
    void save(Double longitude,Double latitude,String addrStr,Long userId);

    //搜附近
    List<Long> searchNear(Long userId,Long distance);

    UserSiteVo findByUserId(Long userId);
}
